*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('eng.jpg') ;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Montserrat Subrayada', sans-serif;
    height: 100vh;
    font-size: 8px;
}

@media (min-width: 400px){
    body {
        font-size: 14px;
    }
}
header{
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu{
    background-color: rgb(245, 245, 245, 0.5);
    background-size: cover;
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 1;
}

.menu ul {
    display: flex;
    justify-content: space-evenly;
    font-size: 28px;
    height:40px
}
.menu li {
    list-style: none;
}
.menu a{
    display: block;
    padding: 10px 20px;
    transition: background-color 1s, color 1s;
}

.menu a:hover {
    background-color: black;
    color: whitesmoke;
}

a {
    color: rgb(114, 117, 115);
    text-decoration: none;
}

.a:hover{
    text-decoration: underline;
}

.flip-card {
    perspective: 1000px;
}

.titulo {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.5s;
    backface-visibility: hidden;
}

.flip-card:hover .titulo {
    transform: rotateY(180deg);
}

.site-subtitle,
.site-title {
    color:rgb(94, 100, 97);
    text-align: center;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

.site-title {
    font-size: 7em;
    font-family: 'Special Elite', cursive;
    
    background-color:  rgb(253, 253, 253, 0);
    
}
.site-subtitle {
    text-align: center;
    background-color: rgb(253, 253, 253, 0);
    font-size: 2em;
    font-style: italic;
    font-family: 'Special Elite', cursive;
    transform: rotateY(180deg);
    position: absolute;
}

.portifolio {
    padding: 2em;
    min-height: 100vh;
    font-family: 'Patrick Hand SC', cursive;
}

.sobre h2,
.contato h2,
.portfolio h2 {
    font-family: 'Fredericka the Great', cursive;
    margin-bottom: 1.5em;
    font-size: 2em;
}

@media ( min-width: 1200px) { 
    .container  {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.sobre {
    padding: 2em;
    min-height: 50vh;
    font-family: 'Kaushan Script', cursive;
    font-size: 1.4em;
}

.sobre .avatar {
    float: right;
    margin-left: 2em;
}

.img-sobre {
    width: 200px;
    height: 200px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);

}

.sobre a{
    text-decoration: underline;
}

.sobre a:hover {
    color: blue;
}

.sobre p {
    text-indent: 1.5em;
    margin-bottom: 1.5em;
    text-decoration: blue;
    text-align: justify;
}

.portfolio {
    background-color: rgb(245, 245, 245, 0.5);
    padding: 2em;
}

.portfolio .grid {
    display: grid;
    gap: 2em;
    text-align: center;
}

@media (min-width: 560px) {
    .portfolio .grid {
        grid-template-columns: 240px 240px;
        height: 100vh;
    }
    .portfolio .grid_icon {
        grid-template-rows: 0px 0px;
    }
}

@media (min-width: 880px) {
    .portfolio .grid {
        grid-template-columns: repeat(3, 240px);
        align-content: center;
        justify-content: center;
        height: calc(100vh - 4em - 48px);
    }
}

.img-portfolio {
    width: 180px;
    height: 180px;
    font-size: 2em;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 500ms;
    
}

.img-portfolio:hover {
    transform: scale(1.5);
}

.contato .icons {
    text-align: center;
}

.contato {
    display: flex;
    justify-content: center;
}

.contato a {
    color: black;
    font-size: 4em;
    transition: text-shadow 1s;
}

.contato a:active,
.contato a:hover {
    text-decoration: none;
    text-shadow: 4px 4px rgb(52, 53, 53);
}


